using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using Animoso.Domain;
using Animoso.Domain.Data;

namespace Animoso.Web.Controllers
{
    public class AdministrationController : ApplicationController
    {
        private IRepository<Administration> _administrationRepository;

        public AdministrationController(IRepository<Administration> administrationRepository)
        {
            _administrationRepository = administrationRepository;
        }

        public ActionResult Index()
        {
            return View(_administrationRepository.GetAll());
        }
    }
}
